#include "stdafx.h"
#include "MemberDetails.h"


MemberDetails::MemberDetails(void)
{
}


MemberDetails::~MemberDetails(void)
{
}

string MemberDetails::getUserName()
{
	return _userName;
}

void MemberDetails::setUserName(string userName_)
{
	_userName = userName_;
	ENSURE0(_userName == userName_);
}

string MemberDetails::getFirstName()
{
	return _firstName;
}

void MemberDetails::setFirstName(string name_)
{
	_firstName = name_;
	ENSURE0(_firstName == name_);
}

string MemberDetails::getSecondName()
{
	return _secondName;
}

void MemberDetails::setSecondName(string name_)
{
	_secondName = name_;
	ENSURE0(_secondName == name_);
}

string MemberDetails::getEmail()
{
	return _email;
}

void MemberDetails::setEmail(string email_)
{
	_email = email_;
	ENSURE0(_email == email_);
}

string MemberDetails::getPassword()
{
	return _password;
}

void MemberDetails::setPassword(string password_)
{
	_password = password_;
	ENSURE0(_password == password_);
}

int MemberDetails::getCreditCard()
{
	return _creditCard;
}

void MemberDetails::setCreditCard(int creditCard_)
{
	_creditCard = creditCard_;
	ENSURE0(_creditCard == creditCard_);
}

int MemberDetails::getDriverLicenceID()
{
	return _driverLicenceID;
}

void MemberDetails::setDriverLicenceID(int driverLicence_)
{
	_driverLicenceID = driverLicence_;
	ENSURE0(_driverLicenceID == driverLicence_);
}

string MemberDetails::getAddress()
{
	return _address;
}

void MemberDetails::setAddress(string address_)
{
	_address = address_;
	ENSURE0(_address == address_);
}

//void MemberDetails::setMovieReserved(Reservation reservation_)
//{
//	_movieReservations.push_back(reservation_);
//	ENSURE0(_movieReservations.back() == reservation_);
//}
//
//void MemberDetails::setMovieRented(Rental rental_)
//{
//	_dvdRented.push_back(rental_);
//	ENSURE0(_dvdRented.back() == rental_);
//}
//
//vector<Reservation> MemberDetails::getReservations()
//{
//	return _movieReservations;
//}
//
//vector<Rental> MemberDetails::getRentals()
//{
//	return _dvdRented;
//}
